package diko_parent.eduservice.service;

import diko_parent.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import diko_parent.eduservice.entity.chapter.VideoInfoForm;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author Emma-Li
 * @since 2020-09-25
 */

public interface EduVideoService extends IService<EduVideo> {

    boolean getCountByChapterId(String id);

    void saveVideoInfo(VideoInfoForm videoInfoForm);

    VideoInfoForm getVideoInfoFormById(String id);

    void updateVideoInfoById(VideoInfoForm videoInfoForm);

    boolean removeVideoById(String id);

    boolean removeByCourseId(String id);


}
